package com.caiyouxi.boss.buser.mapper;

import com.caiyouxi.boss.buser.model.SysUserRightsBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2017/10/20.
 */
@Mapper
public interface SysUserRightsMapper {

    //查询
    public SysUserRightsBean select_sys_user_rights(int user_id);


    //增加
    public int add_sys_user_rights(SysUserRightsBean bean);

    //修改
    public int update_sys_user_rights(SysUserRightsBean bean);

    //删除
    public int delete_sys_user_rights(SysUserRightsBean bean);

    //获得总条数
    public int get_count(SysUserRightsBean bean);

    //查询
    List<SysUserRightsBean> get_sys_user_rights(int user_id);
}
